{extends '../../templates/@layout.latte'}
{block head}
<link rel="stylesheet" href="{$basePath}/css/{$colorstyle}/admin.css">
{block admin_head}{/block}
{/block}

{block content}
<div id="block_bg">
{if $user->isAllowed('administration','show')}
	{block left_block}
	<div id="block_left" class="block">
		{include #admin_content}
	</div>
	{/block}
	{block right_menu}
	<div id="block_right" class="block">
		{include "@rightMenu.latte"}
	</div>
	{/block}
	<div class="clear"></div>
{else}
	<div class="block">Do administrace bohužel nemáte přístup. Pro zpřístupnění kontaktujte administrátora.</div>
{/if}
</div>
{/block}
